package com.google.code.virtualhockey.vhx.tools.dataimport

import com.google.code.virtualhockey.vhx.util.CSVParser

/**
 * Imports data that is available in CVS format into the GAE datastore.
 */
object DataImport extends App {
  
  // Currently this object only contains test code
  //
  
  val res = CSVParser.parse( "\"FR-AMI\";\"Gothiques d'Amiens\";\"Hockey Club Amiens Somme\";\"Amiens\";\"FR\";49.893643;2.289598;false\n" +
  		"\"FR-GRE\";\"Brûleurs de Loups de Grenoble\";\"Les Brûleurs de Loups de Grenoble\";\"Grenoble\";\"FR\";45.157829f;5.734488f" );
  
  res.foreach( ( line ) => { line.foreach( ( field ) => print( field + "\t" ) ); print( "\n" ) } )
}